import lib
import dnf

#lib.run('adb devices')

#lib.swipe('10','300','700','300',800)

#lib.screen('main.png')

# lib.run('adb shell screencap -p > 1.png')
# lib.convert_img('1.png')

def testFn(range):
    print(range)

def sw(range):
    for i in range:
        dnf.select(i)
        dnf.meishi(0)
        dnf.mffhbi()
        dnf.huizhang()
        dnf.findReward()
        dnf.openSelect()

def zw(range):
    for i in range:
        dnf.select(i)
        dnf.meishi(1)
        dnf.bt_wt()
        dnf.openSelect()

def xw(range):
    for i in range:
        dnf.select(i)
        dnf.meishi(2)
        dnf.gonghui()
        dnf.lingqu()
        dnf.mail()
        dnf.openSelect()

if __name__ == "__main__":
    #lib.screen('main.png')
    #sw([1,2,3,4,5])
    #afternoon([1,2,3,4,5])
    #night([1,2,3,4,5])
    for i in range(1,7):
        dnf.select(i)
        dnf.mffhbi()
        dnf.huizhang()
        dnf.findReward()
        dnf.gonghui()
        dnf.bt_wt()
        dnf.lingqu()
        dnf.mail()
        dnf.openSelect()
    
   
    
    
   
    
   
   
    
    